<!DOCTYPE HTML>
<html lang="{{theme.lang}}">
  <head>
    <meta charset="UTF-8">
    <title>{%- block title %}{{theme.name|title}}{% endblock -%}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="generator" content="{{system.name}} {{system.version}}" />
    {%- block assets %}
    <link type="image/x-icon" href="{{static_url('css/favicon.ico')}}" rel="icon">
    <link rel="stylesheet" href="{{static_url('css/normalize.css')}}" />
    <link rel="stylesheet" href="{{static_url('css/site.css')}}" />
    <link rel="stylesheet" href="{{static_url('css/solarized.css')}}" />
    {%- include "snippet/head.html" %}
    <script src="{{static_url('js/site.js')}}"></script>
    <!--[if lt IE 9]>
    <script src="{{static_url('js/html5shiv.js')}}"></script>
    <![endif]-->
    {%- endblock %}
    {%- block afterstyle %}{% endblock %}
  </head>
  <body>
    <div id="body-wrapper">
      {%- block body %}
      <aside id="sidebar-wrapper">
        <h1><a href="{{content_url('index.html')}}">{{config.package.name|title}}</a><sup class="package-root"><a href="/">{{config.package.family}}</a></sup></h1>
        <p class="version">当前版本：<a title="历史记录" href="{{content_url('history.html')}}">{{config.package.version}}</a></p>
        <p class="description">{{config.package.description}}</p>
        <p class="keywords" style="display: none;">{{config.package.keywords[0]}}</p>
        {%- if config.package.repository %}
        <a class="source" href="{{config.package.repository.url}}" target="_blank">View the Project</a>
        {%- endif %}
        {%- block subsidebar %}
        {%- endblock %}
      </aside>
      {%- block afterside %}{% endblock %}
      <div id="content-wrapper">
        <div id="content">{% block content %}{% endblock %}</div>
      </div>
      {%- endblock %}
    </div>
    <div id="footer-wrapper">
      <footer>
        <p class="powered">
        {%- include "snippet/foot.html" %}
        </p>
      </footer>
    </div>
  </body>
</html>
